const koaRouter = require('@koa/router')
const { verifAuth } = require('../middleware/login.middleware')
const { created } = require('../controller/label.controller')

const labelRouter = new koaRouter({ prefix: '/label' })
labelRouter.post('/', verifAuth, created)

module.exports = labelRouter